package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnHwLbs;
import com.tjmc.tiomscore.model.TranPtnHwLbsExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnHwLbsMapper extends TranPtnHwSuperMapper<TranPtnHwLbs> {
    long countByExample(TranPtnHwLbsExample example);

    int deleteByExample(TranPtnHwLbsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnHwLbs record);

    int insertSelective(TranPtnHwLbs record);

    List<TranPtnHwLbs> selectByExample(TranPtnHwLbsExample example);

    TranPtnHwLbs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnHwLbs record, @Param("example") TranPtnHwLbsExample example);

    int updateByExample(@Param("record") TranPtnHwLbs record, @Param("example") TranPtnHwLbsExample example);

    int updateByPrimaryKeySelective(TranPtnHwLbs record);

    int updateByPrimaryKey(TranPtnHwLbs record);
}